﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Painter.Models
{
    /// <summary>
    /// 板材切割输入
    /// </summary>
    public class Input : IInput
    {
        #region 属性
        /// <summary>
        /// 板材长
        /// </summary>
        public Double Length { get; set; }
        /// <summary>
        /// 板材宽
        /// </summary>
        public Double Width { get; set; }
        /// <summary>
        /// 毛坯种类数
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 毛坯需求
        /// </summary>
        public Int32[] Demand { get; set; }
        /// <summary>
        /// 毛坯直径
        /// </summary>
        public Double[] Diameter { get; set; }
        #endregion
    }
    /// <summary>
    /// 板材切割输入模型接口
    /// </summary>
    public partial interface IInput
    {
        #region 属性
        /// <summary>
        /// 板材长
        /// </summary>
        Double Length { get; set; }
        /// <summary>
        /// 板材宽
        /// </summary>
        Double Width { get; set; }
        /// <summary>
        /// 毛坯种类数
        /// </summary>
        int Num { get; set; }

        /// <summary>
        /// 毛坯需求
        /// </summary>
        Int32[] Demand { get; set; }
        /// <summary>
        /// 毛坯直径
        /// </summary>
        Double[] Diameter { get; set; }
        #endregion

    }
}
